#将玩家意外放入GUI的物品以实体的形式返还给玩家
summon chest_minecart ~ ~1 ~ {Tags:[fisland_item_temp],Invulnerable:1b}
data modify entity @e[tag=fisland_item_temp,limit=1] Items set from block ~ ~ ~ Items
execute if entity @e[tag=fisland_item_temp,nbt={Items:[{Slot:0b,tag:{CustomModelData:580003}}]}] run replaceitem entity @e[tag=fisland_item_temp] container.0 air
replaceitem entity @e[tag=fisland_item_temp] container.1 air
replaceitem entity @e[tag=fisland_item_temp] container.2 air
replaceitem entity @e[tag=fisland_item_temp] container.3 air
replaceitem entity @e[tag=fisland_item_temp] container.4 air
replaceitem entity @e[tag=fisland_item_temp] container.5 air
replaceitem entity @e[tag=fisland_item_temp] container.9 air
replaceitem entity @e[tag=fisland_item_temp] container.10 air
replaceitem entity @e[tag=fisland_item_temp] container.11 air
replaceitem entity @e[tag=fisland_item_temp] container.12 air
replaceitem entity @e[tag=fisland_item_temp] container.13 air
replaceitem entity @e[tag=fisland_item_temp] container.14 air
execute if block ~ ~ ~ barrel{Items:[{Slot:16b,tag:{tag:{id:"fisland:index"}}}]} run replaceitem entity @e[tag=fisland_item_temp] container.16 air
replaceitem entity @e[tag=fisland_item_temp] container.18 air
replaceitem entity @e[tag=fisland_item_temp] container.19 air
replaceitem entity @e[tag=fisland_item_temp] container.20 air
replaceitem entity @e[tag=fisland_item_temp] container.21 air
replaceitem entity @e[tag=fisland_item_temp] container.22 air
replaceitem entity @e[tag=fisland_item_temp] container.23 air
replaceitem block ~ ~ ~ container.0 light_blue_dye{tag: {id: "fisland:index"}, CustomModelData: 580003, display: {Name: '[{"text":"手摇粉碎机","italic": false}]'}}
replaceitem block ~ ~ ~ container.6 air
replaceitem block ~ ~ ~ container.7 air
replaceitem block ~ ~ ~ container.8 air
replaceitem block ~ ~ ~ container.15 air
replaceitem block ~ ~ ~ container.16 stick{tag:{id:"fisland:index"},display:{Name:'"进行粉碎"'}}
replaceitem block ~ ~ ~ container.17 air
replaceitem block ~ ~ ~ container.24 air
replaceitem block ~ ~ ~ container.25 air
replaceitem block ~ ~ ~ container.26 air
kill @e[tag=fisland_item_temp]
execute as @e[type=item,distance=0..2] run data modify entity @s Motion set value [0.0,0.0,0.0]